home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / game / role / HammyTown.lha / 8.room < prev    next >
Text File  |  1997-10-22  |  3KB  |  129 lines

  1. /*                     This is a room file for GRAAL
  2. /*
  3. /*                                 8.room
  4. /*
  5. /* Room Flag 2=0 Dog nasty, 2=1 Dog happy
  6.  
  7. /* UPDATE: scroll_frames;normal_frames
  8. /*
  9. UPDATE: 3;1
  10.  
  11. /* SECTION: section number
  12. /*
  13. SECTION: 1
  14.  
  15. /* BG_IFF: filename
  16. /*
  17. BG_IFF: 8BG.IFF
  18.  
  19. /* START_POS: sposno;bobimage;x;y;camera;floor
  20. /*
  21. /* 4->Mountain, 3->House One, 2->House Two, 1->Harbour
  22.  
  23. START_POS: 1;$800E;309;112;L;1
  24. START_POS: 2;11;213;82;M;1
  25. START_POS: 3;11;118;77;M;1
  26. START_POS: 4;14;8;116;L;1
  27.  
  28. /* FLOOR: floorno;x1;y1;x2;y2;floormap/.../floormap
  29. /*
  30. FLOOR: 1;0;71;319;120;1-1
  31.  
  32. /* EXIT: no;x1;y1;x2;y2;epointx;epointy;description
  33. /*
  34. EXIT: 1;280;70;321;120;313;110;Harbour
  35. EXIT: 2;202;42;224;70;217;80;House Two
  36. EXIT: 3;103;31;131;70;118;77;House One
  37. EXIT: 4;0;55;39;120;4;111;Mountain
  38.  
  39. /* CLPART: filename
  40. /*
  41. CLPART: 3FG.IFF
  42.  
  43. /* ROOMBOBS: no_of_imgs;startrbob;grabx;graby;width;height;xoffset;hotsp
  44. /*
  45. /* 1 is the dodgy dog.
  46. ROOMBOBS: 1;1;55;161;36;13;0;0
  47.  
  48. /* STATIC: bobno;LBOBimage;putx;puty
  49. /* ANIM: bobno;bobimg;amalchannel;amalsequence;putx;puty
  50.  
  51. /* ROOMOBJ: roomobjno,object_definition.... (see graal.main documentation)
  52. /*
  53. ROOMOBJ: 1;Dodgy Dog;8;VIS;50;RBOB1;195;76;23;5;$800E; ;NPICK; ;8; ;LOW;AV;a;it;him
  54.  
  55.  
  56. /* DACT: condition;...;action;...
  57. /*
  58. /*   These lines contain room actions performed directly as you enter the
  59. /*   room.
  60. /*
  61. /* Light up scene
  62. DACT: TRACK NO;LIGHTS ON
  63. DACT: IFRF 1=0;SAY Well, if you can't draw...;SAY Use digitised graphics!;SETRF 1=1;EXIT
  64.  
  65. /* LINE: dlgno;lineno;line;reuseline;conditions
  66. /* LACT: dlgno;lineno;action;...;action
  67.  
  68.  
  69.  
  70. /* Room actions follow below ***
  71. /*
  72. /* ACTION: verbno;condition;...;command;...
  73.  
  74. /*
  75. /* Action 0 - Exit
  76. /* ===============
  77. /*
  78. ACTION: 0;IFOBJ 1;MEXIT;GOTO 5,4
  79. ACTION: 0;IFOBJ 2;MEXIT
  80. ACTION: 0;IFOBJ 2;IFRF 2=0;MOBJ ROBJ1;SAY I don't think this dodgy animal will let me past.;EXIT
  81. ACTION: 0;IFOBJ 2;MEXIT;GOTO 11,1
  82. ACTION: 0;IFOBJ 3;MEXIT;GOTO 9,1
  83. ACTION: 0;IFOBJ 4;MEXIT;GOTO 13,1
  84. /*
  85. /* Action 1 - Give
  86. /* ===============
  87. /*
  88. ACTION: 1;IFOBJ 14;IFOBJ2 ROBJ1;MOBJ ROBJ1;SAY Well, here goes...;HANDLE ROBJ1;W 20;HANDLE -1;REMOVE 14,U,0
  89. ACTION: 1;IFOBJ 14;IFOBJ2 ROBJ1;SAY He looks a bit happier now.;SAY I wonder what that dog was guarding.;SAY Maybe a rocket pack or something! That would get me out of here nice and quick.
  90. ACTION: 1;IFOBJ 14;IFOBJ2 ROBJ1;SAY Funny, I have the strangest feeling of deja vu...;SETRF 2=1;EXIT
  91. /*
  92. /* Action 2- Pick up
  93. /* =================
  94. /*
  95. /*
  96. /* Action 3 - Use
  97. /* ==============
  98. /*
  99. /*
  100. /* Action 4 - Open
  101. /* ===============
  102. /*
  103. /*ACTION: 4;IFOBJ ROBJ1;SAY Everything is crushed: I can't open it!;EXIT
  104.  
  105. /* Action 5 - Talk to
  106. /* ==================
  107. /*
  108. /*
  109. /* Action 6 - Push
  110. /* ===============
  111. /*
  112. /*
  113. /* Action 7 - Close
  114. /* ================
  115.  
  116. /*
  117. /* Action 8 - Look at
  118. /* ==================
  119. /*
  120. ACTION: 8;MOBJ
  121. ACTION: 8;IFOBJ ROBJ1;IFRF 2=0;SAY I think it is supposed to be a fierce dog.;SAY Looks more like a giant gerbil!;EXIT
  122. ACTION: 8;IFOBJ ROBJ1;SAY He looks a lot happier now he has his squeaky toy.;EXIT
  123. /*
  124. /* Action 9 - Pull
  125. /* ===============
  126. /*
  127. /* End of room file. Some comments must be here, otherwise  the last command
  128. /* line is missed out!
  129.